HelloPlus\Modules\TemplateParts\Documents\Ehp_Document_Base S

Total Complexity 41
Dependencies 7
Dependents 2
Total lines 263
Lines of code 168
Logical lines of code 82
Comment lines 41
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
register_hooks()
S
54 6 20
maybe_display_notice()
S
57 3 16
maybe_save_as_draft()
S
62 4 10
set_as_entire_site()
S
60 3 13
maybe_get_template()
S
62 3 11
save()
S
63 3 10
display_post_states()
S
66 3 7
get_all_document_posts()
S
55 1 20
get_document_post()
S
74 2 4
print_content()
S
67 2 8
get_properties()
S
60 1 13
get_template_hook()
S
100 1 0
get_remote_library_config()
S
68 1 7
allow_only_one_active_document()
S
74 1 4
get_active_document()
S
68 1 8
filter_admin_row_actions()
S
76 1 4
get_templates_path()
S
80 1 3
get_name()
S
80 1 3
get_create_url()
S
74 1 4
get_css_wrapper_selector()
S
80 1 3
get_template()
S
100 1 0